package com.ccp.dev.workflow.model;

import com.ccp.dev.core.basic.model.BaseModel;

/**
 * 流程授权子表授权类型Model
 * @author zhanghuichao zhhchyouxiang@126.com
 * @date 2019/7/9 11:23
 */
public class BpmDefAuthorizeType extends BaseModel {

    public final static class BPMDEFAUTHORIZE_RIGHT_TYPE{
        private BPMDEFAUTHORIZE_RIGHT_TYPE(){}
        /**流程授权启动类型*/
        public static final String START = "start";
        /**流程授权定义类型*/
        public static final String MANAGEMENT = "management";
        /**流程授权任务类型*/
        public static final String TASK = "task";
        /**流程授权实例类型*/
        public static final String INSTANCE = "instance";
    }

    /**
     * 主键
     */
    protected String id;

    /**
     * 流程授权定义ID
     */
    protected String authorizeId;

    /**
     * 流程授权类型
     */
    protected String authorizeType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAuthorizeId() {
        return authorizeId;
    }

    public void setAuthorizeId(String authorizeId) {
        this.authorizeId = authorizeId;
    }

    public String getAuthorizeType() {
        return authorizeType;
    }

    public void setAuthorizeType(String authorizeType) {
        this.authorizeType = authorizeType;
    }
}
